POV-Ray : Newsgroups : povray.binaries.images : Randomized orientation of pattern instances: an infinite procedural texture : Randomized orientation of pattern instances: an infinite procedural texture Server Time
2 Nov 2024 08:21:23 EDT (-0400)
  Randomized orientation of pattern instances: an infinite procedural texture  
From: Samuel Benge
Date: 7 Mar 2011 01:40:00
Message: <web.4d747b835109701b942c68130@news.povray.org>
Hello,

The basis for this texture is the 'cells' pattern.

At each cell, another (visible) pattern is copied across space and randomly
translated along each axis. Each cell references eight neighboring cells,
producing a random, but coherent orientation of pattern instances stretching off
to infinity.

For this image, four images of leaves were used for input. These four images
were used to make seven images of overlapping leaves. These seven images were
used in a gradient z pattern. The resulting pattern was then unevenly scaled and
twisted along the z-axis.

In this way, an infinite texture is produced from just a few images, and it
doesn't exhibit the usual repetition present when using straight image_maps.
Common elements still show up regularly, but new images can be tossed into the
array until it's too hard to tell anymore.

Unfortunately, the input pattern is sampled 9 times. For each of those 9 times,
the cells pattern is sampled 3 times and another function is used two times
(9*(3+2))... so it renders slowly :(

~Sam


Post a reply to this message


Attachments:
Download 'mpo-leaves-a25_58b.jpg' (255 KB)

Preview of image 'mpo-leaves-a25_58b.jpg'
mpo-leaves-a25_58b.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.